package com.chebaohui.iqs.config;

/**
 * 保险编码 (编码,保险名称)
 * 
 * @author regas_xie
 *
 */
public enum InsuranceCode {
	TP("tp", false, "交强险"),

	BL("bl", true, "机车损失险"),

	BT("bt", true, "盗抢险"),

	BTR("btr", true, "第三责任险"),

	BD("bd", true, "车上人员(司机)责任险"),

	BP("bp", true, "车上人员(乘客)责任险"),

	BN("bn", true, "车身划痕损失险"),

	BG("bg", false, "玻璃单独破碎险"),

	BR("br", false, "指定修理厂险"),//

	BNP("bnp", true, "自燃损失险"),
	
	BTT("btt", false, "机动车无法找到三方特约险"),

	BW("bw", true, "发动机涉水损失险");//
	private String code;
	private boolean rely;
	private String value;

	private InsuranceCode(String code, boolean rely, String value) {
		this.code = code;
		this.rely = rely;
		this.value = value;
	}

	public String getCode() {
		return code;
	}

	public boolean isRely() {
		return rely;
	}

	public String getValue() {
		return value;
	}
}
